package com.yanyilu.basing.service;

import com.yanyilu.basing.common.R;
import com.yanyilu.basing.entity.AdminUser;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sxx
 * @since 2020-10-27
 */
public interface IAdminUserService extends IService<AdminUser> {

    public R adminAdd(AdminUser adminUser);

    public R adminDelete(Integer adminUserId);

    public R adminUpdate(AdminUser adminUser);

    public R adminSelectList(Integer page,Integer limit,String AdminUserName);

    public R adminSelectList(Integer page,Integer limit);

    R login(AdminUser adminUser);

    R selectByAllTableContent(Integer page,String tableName);

    R deleteByAllId(String tableName,String tableNameIdWord,Integer tableNameId);
}
